package com.chenu.gamscriptman.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chenu.gamscriptman.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface UserDao extends BaseMapper<User> {

    Integer selectRoleById(Long uid);

    /* 查询用户名通过用户号 */
    String selectUsernameById(Long uid);
}